<template>
  <div>
    <div class="head">购物车案例</div>
  </div>
</template>

<script>
export default {
  props: {},
  data() {
    return {};
  },
  methods: {},
};
</script>

<style lang="less" scoped>
* {
  margin: 0;
  padding: 0;
}
.head {
  position: fixed;
  top:0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 50px;
  line-height: 50px;
  background-color: #1279ff;
  color: white;
  text-align: center;
  margin-bottom: 10px;
  z-index: 9999;
}
</style>